package com.mezz.bones.user.application.executor.cmd.impl;

import com.mezz.bones.user.application.domain.cmd.UserAccountLoginCmd;
import com.mezz.bones.user.application.executor.cmd.IUserAccountLoginExecutor;
import com.mezz.bones.user.application.service.IUserInfoService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @Author: zhuang
 * @Date: 2025/6/17 14:34
 * @Description: TODO
 * @Version: 1.0
 **/

@Service
@Slf4j
@AllArgsConstructor
public class UserAccountLoginExecutorImpl implements IUserAccountLoginExecutor {

    private final IUserInfoService userInfoService;

    @Override
    public void execUserAccountLoginCmd(UserAccountLoginCmd cmd) {

        userInfoService.login(cmd);

        //其它领域模块的逻辑处理
        //积分模块新增积分 依赖其client进行处理
    }
}
